import 'package:hive/hive.dart';
import 'dd_hive_comment_model.dart';
part 'dd_hive_video_model.g.dart';


@HiveType(typeId: 3)
class HiveVideoModel extends HiveObject {
  @HiveField(0)
  String? fencingid;

  @HiveField(1)
  String? uid;

  @HiveField(2)
  String? userId;

  @HiveField(3)
  String? nickname;

  @HiveField(4)
  String? avatarUrl;

  @HiveField(5)
  String? author;

  @HiveField(6)
  String? followedCount;

  @HiveField(7)
  int? artworkCount;

  @HiveField(8)
  String? tags;

  @HiveField(9)
  String? title;

  @HiveField(10)
  String? description;

  @HiveField(11)
  String? middleThumbUrl;

  @HiveField(12)
  String? mediaUrl;

  @HiveField(13)
  int? likes;

  @HiveField(14)
  List<String>? allImage;

  @HiveField(15)
  bool? myLikes;

  @HiveField(16)
  bool? myFollow;

  @HiveField(17)
  bool? myPublish;

  @HiveField(18)
  List<HiveCommentModel>? messageList;


  HiveVideoModel({
    this.fencingid,
    this.uid,
    this.userId,
    this.nickname,
    this.avatarUrl,
    this.author,
    this.followedCount,
    this.artworkCount,
    this.tags,
    this.title,
    this.description,
    this.middleThumbUrl,
    this.mediaUrl,
    this.likes,
    this.allImage,
    this.myLikes,
    this.myFollow,
    this.myPublish,
    this.messageList,
  });
}